//
//  ESTopicVC.h
//  Eyeshot
//
//  Created by admin on 15/7/1.
//  Copyright (c) 2015年 eyeshot. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ESCategoryBar.h"

@class ESTopicVC;
@protocol ESTopicVCDelegate <NSObject>

@optional
- (void)didExceedLeftBoundaryOfTopicVC:(ESTopicVC *)topicVc;
- (void)didExceedRightBoundaryOfTopicVC:(ESTopicVC *)topicVc;
@end

@interface ESTopicVC : UIViewController<UICollectionViewDataSource,UICollectionViewDelegate,ESCategoryBarDelegate>
@property(nonatomic,weak,readonly)UICollectionView *collectionView;
@property(nonatomic,strong,readonly)NSMutableArray *dataSourceArray;
@property(nonatomic,weak,readonly)ESCategoryBar *categoryBar;
@property(nonatomic,weak)id<ESTopicVCDelegate> delegate;
@end
